<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>图书信息</title>
  <style type="text/css">
    #container{
      width:450px;
      border: solid 1px;
      padding: 20px;
    }
    #title{
      font-size: 16px;
      font-weight: bold;
      color: #3399FF;
    }
    #content{
      font-size: 12px;
      text-align: left;
    }
  </style>
</head>
<body>
<jsp:useBean id="book" class="Book"></jsp:useBean>
<jsp:useBean id="encoding" class="CharactorEncoding"></jsp:useBean>
<jsp:setProperty name="book" property="*"/>
<div align="center">
  <div id="container">
    <div id="title">
      <%= encoding.toString(book.getTitle())%>
    </div>
    <hr>
    <div id="content">
      <%= encoding.toString(book.getContent())%>
    </div>
  </div>
</div>
</body>
</html>
